\begin{tikzpicture}
    \tkzDefPoints{0/0/B, 3.2/0/C, 3.2/2/D, 0/2/A}
    \tkzDefMidPoint(B,C)  \tkzGetPoint{M}
    \tkzDefLine[altitude](A,D,M)  \tkzGetPoint{E}

    \tkzDrawPolygon(A,B,C,D)
    \tkzDrawSegments(A,M  D,E)
    \tkzMarkRightAngle(D,E,A)
    \tkzLabelPoints[left](A,B)
    \tkzLabelPoints[right](C,D)
    \tkzLabelPoints[below](M)
    \tkzLabelPoints[below left=-.3em](E)
\end{tikzpicture}

